package com.xayy.ds.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xtck.ha.common.core.annotation.Excel;
import com.xtck.ha.common.core.annotation.IgnoreProperty;
import com.xtck.ha.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.xtck.ha.common.core.annotation.TableName;
import com.xtck.ha.common.core.annotation.ClassKey;
import java.math.BigDecimal;
import java.util.Date;

/**
* @ClassName: DsEquipTreeInfo
* @Description: 实体类
* @author liuyuan
* @date 2025-07-03
*/
@Data
@ApiModel(description = "")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="HEALTH_XW.EQUIP_TREE_INFO")
public class DsEquipTreeInfo extends BaseEntity {
        @IgnoreProperty
        private static final long serialVersionUID = 1L;
        /**
        * 主键
        */
        @ApiModelProperty("主键")
        @Excel(name = "主键")
        private Long id;
        /**
        * 上级节点id，最顶级节点的上级id为0L
        */
        @ApiModelProperty("上级节点id，最顶级节点的上级id为0L")
        @Excel(name = "上级节点id，最顶级节点的上级id为0L")
        private Long parentId;
        /**
        * 节点名称
        */
        @ApiModelProperty("节点名称")
        @Excel(name = "节点名称")
        private String nodeName;
        /**
        * 节点级别
        */
        @ApiModelProperty("节点级别")
        @Excel(name = "节点级别")
        private Integer level;
        /**
        * 创建时间
        */
        @ApiModelProperty("创建时间")
        @Excel(name = "创建时间")
        private Date createdTime;
        /**
        * 最后更新时间
        */
        @ApiModelProperty("最后更新时间")
        @Excel(name = "最后更新时间")
        private Date updatedTime;

}
